<navbar></navbar>
<div>
<div class="container-fluid all">
        <div class="col-md-12">
            <div class="sidebar col-md-2" >
                <div>
                    <h3 align="center" id="merchantFlag" >商家{{vm.merchant.mname}}的店铺</h3>
                    <div>
                        <p><img width="220px" height="280px"  ng-src="{{vm.merchant.portait}}" align="center"></p>
                        <!-- <p><span style="margin-left:5px">客户评分:</span>${levelString }</p> -->
                    </div>
                </div>
                <ul class="nav">
                    <li style="text-align:center"><a class="myhref" ng-click="vm.getFoodByIcnumFtype(1)">酒水
                        </a></li>
                    <li style="text-align:center"><a class="myhref" ng-click="vm.getFoodByIcnumFtype(2)">主食</a></li>
                    <li style="text-align:center"><a class="myhref" ng-click="vm.getFoodByIcnumFtype(3)">小吃</a></li>
                    <li style="text-align:center"><a class="myhref" ng-click="vm.getFoodByIcnumFtype(4)">套餐</a></li>
                </ul>
            </div>
            <div class="content col-md-10" >
                    <div class="container">
                            <div class="col-sm-9 col-md-10 main" style="margin-top: 50px;width: 70%">
                                
                                <div class="row" id="merchantId">
                                        <div ng-repeat="food in vm.foodList track by $index">
                                                        <div class="col-md-4">
                                                            <li><img width="200px" height="200px"  class="img-circle"  ng-src="{{food.fimg}}"/></li>
                                                            <li style="margin-left:50px">{{food.fname}}</li>
                                                            <li style="margin-left:50px;color:red">{{food.fprice}}￥</li>
                                                            <li><button style="margin-left:40px" class="detail btn btn-success" ng-click="vm.addToCart(food)">订购</button></li>
                                                        </div>
                                                    </div>
                                        </div>

                                        <hr class="hrClass">
                                </div>
                        </div>
            </div>
        </div>
</div>

<!-- <div class="rightsidebar">
        <div>
            <h3 align="center">购物车</h3>
            <div id="cart">
                <div id="cart_top">
                购物车
                
                </div>
        
                <div id="cart_body">
                
                </div>
                <div id="cart_settlement">
                    <p>合计：<span id="priceTotal" class="priceTotal">0</span></p>
                    <button id="settlementId" href="toOrderPage?icnum=${merchant.icnum }"><img src="images/jiesuan.gif" style="height:35px;width:190px;margin-top:0px;margin-left:-7px" class="center-block clear"></button>
                </div>
            </div>
        </div>
</div> -->
</div>